package com.zhuss.repair.repair;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import com.zhuss.bean.bo.repair.repair.DetailRepairBo;
import com.zhuss.bean.bo.repair.repair.SearchRepairBo;
import com.zhuss.common.ReadService;
import com.zhuss.exception.WpsException;
import com.zhuss.repair.db.entity.Repair;
import com.zhuss.repair.processor.RepairAuditRead;
import com.zhuss.repair.processor.RepairRead;


/**
 * 餐品查询service（基本查询）
 * @author zhushanshuo
 * @Date 2020/02/28 16:01
 *
 */
@Component("repairAuditReadService")
public class RepairAuditReadService implements ReadService<Object, Object> {
	
	@Autowired
	@Qualifier("repairAuditRead")
	private RepairAuditRead repairAuditRead;
	
	/**
	 * 详情
	 */
	@Override
	public Object detail(Object param) throws WpsException {
		/*DetailRepairBo bo = (DetailRepairBo) param;
		Integer repairId = bo.getId();
		Object vo = repairRead.detail(repairId);
		return vo;*/
		return null;
	}
	
	/**
	 * 列表
	 */
	@Override
	public Object list(Object param) {
		SearchRepairBo bo = (SearchRepairBo) param;
		Object result = repairAuditRead.list(bo);
		return result;
	}

	
	
}

